Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
A few questions
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Oliver Drobnik  
View profile  
 More options Sep 21 2012, 12:26 pm
From: Oliver Drobnik <oliver.drob...@gmail.com>
Date: Fri, 21 Sep 2012 09:26:05 -0700 (PDT)
Local: Fri, Sep 21 2012 12:26 pm
Subject: A few questions

Hi,

I have a few questions,
regarding https://github.com/Cocoanetics/DTCoreText/blob/master/DTCoreText.podspec

I have these entries in my project PCH, do I need to do anything so that
these imports are transferred when installing the PCH?

#import <Foundation/Foundation.h>

#import <UIKit/UIKit.h>

#import <CoreText/CoreText.h>

I have a DTCoreTextFontOverrides.plist that should be transferred as a
resource, I add that to resources, right?

In the above mentioned podspec, I have some provision to add
ALLOW_IPHONE_SPECIAL_CASES to the PCH file, but this is no longer
necessary. How do I get rid of that without interfering with the imports
mentioned in the first question?

kind regards
Oliver Drobnik

Cocoanetics.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eloy Durán  
View profile  
 More options Sep 21 2012, 12:34 pm
From: Eloy Durán <eloy.de.en...@gmail.com>
Date: Fri, 21 Sep 2012 18:34:21 +0200
Local: Fri, Sep 21 2012 12:34 pm
Subject: Re: A few questions

> I have these entries in my project PCH, do I need to do anything so that these imports are transferred when installing the PCH?

> #import <Foundation/Foundation.h>
> #import <UIKit/UIKit.h>
> #import <CoreText/CoreText.h>

Only the last would have to be added.

Nowadays you can completely replace https://github.com/Cocoanetics/DTCoreText/blob/master/DTCoreText.pods... by using the `prefix_header_contents` attribute:

  s.prefix_header_contents = '#import <CoreText/CoreText.h>'

> I have a DTCoreTextFontOverrides.plist that should be transferred as a resource, I add that to resources, right?

Yup. If you have just one file you can also use the alias `resource`.

> In the above mentioned podspec, I have some provision to add ALLOW_IPHONE_SPECIAL_CASES to the PCH file, but this is no longer necessary. How do I get rid of that without interfering with the imports mentioned in the first question?

With the aforementioned prefix_header_contents example, the ALLOW_IPHONE_SPECIAL_CASES won’t be added.

Eloy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oliver Drobnik  
View profile  
 More options Jan 7, 3:30 am
From: Oliver Drobnik <oli...@drobnik.com>
Date: Mon, 7 Jan 2013 09:30:32 +0100
Local: Mon, Jan 7 2013 3:30 am
Subject: Re: A few questions
Could you please have a look and tell me if these pod spec changes are correct?

https://github.com/Cocoanetics/DTCoreText/commit/260ec697410e6b8797a0...

- basically it's a new tag
- The prefix_header_contents should replace the file.puts
- I am uncertain about the spec.resources, do I need a path there?

kind regards
Oliver Drobnik

Am 21.09.2012 um 18:34 schrieb Eloy Durán <eloy.de.en...@gmail.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Dependency" by Oliver Drobnik
Oliver Drobnik  
View profile  
 More options Jan 7, 4:40 am
From: Oliver Drobnik <oli...@drobnik.com>
Date: Mon, 7 Jan 2013 10:40:56 +0100
Local: Mon, Jan 7 2013 4:40 am
Subject: Dependency
Hi,

my DTCoreText project requires two additional libraries which are represented by two static library targets in DTFoundation.

This is where I got to, but now I am stuck:
https://github.com/Cocoanetics/DTCoreText/commit/100468c67dd8a1ffe6f8...

how would I represent this dependency? Would I make a pod spec per static library target?

I specifically need DTVersion.m+h and DTHTMLParser.m+h from the project.

kind regards
Oliver Drobnik


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Victor Ilyukevich  
View profile  
 More options Jan 7, 6:40 am
From: Victor Ilyukevich <ilyukevich.vic...@gmail.com>
Date: Mon, 7 Jan 2013 14:40:49 +0300
Local: Mon, Jan 7 2013 6:40 am
Subject: Re: Dependency

Hello Oliver!

I'm not 100% sure, but as possible solution you can declare DTFoundation as
a spec with lots of small subspecs like RestKit do:
https://github.com/CocoaPods/Specs/blob/master/RestKit/0.20.0pre6/Res...

And after that to specify the needed subspecs as dependencies for
DTCoreText.

I will be glad if somebody else will proof my answer because I'm not 100%
sure) Thanks.

--
Best regards,
Victor Ilyukevich.
@yas375

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fabio Pelosin  
View profile  
 More options Jan 7, 10:19 am
From: Fabio Pelosin <fabiopelo...@gmail.com>
Date: Mon, 7 Jan 2013 16:19:44 +0100
Local: Mon, Jan 7 2013 10:19 am
Subject: Re: Dependency

Hi Oliver,

I agree with Victor that the best solution would be to break DTFoundation in subspecs.

You can learn more about subspecs at https://github.com/CocoaPods/CocoaPods/wiki/The-podspec-format.

On 07/gen/2013, at 12:40, Victor Ilyukevich <ilyukevich.vic...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "A few questions" by Eloy Durán
Eloy Durán  
View profile  
 More options Jan 9, 6:34 am
From: Eloy Durán <eloy.de.en...@gmail.com>
Date: Wed, 9 Jan 2013 12:34:17 +0100
Local: Wed, Jan 9 2013 6:34 am
Subject: Re: A few questions
Looks good to me! Be sure to use the linting features of the `pod` CLI tool and possibly by testing the integration in a dumb app.

On Jan 7, 2013, at 9:30 AM, Oliver Drobnik <oli...@drobnik.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eloy Durán  
View profile  
 More options Jan 9, 6:39 am
From: Eloy Durán <eloy.de.en...@gmail.com>
Date: Wed, 9 Jan 2013 12:39:48 +0100
Local: Wed, Jan 9 2013 6:39 am
Subject: Re: A few questions
Oops, I just now saw all the discussion on the commit (GitHub is not loading any CSS for me atm, so it’s hard to read), looks like they already got you covered :)

On Jan 9, 2013, at 12:34 PM, Eloy Durán <eloy.de.en...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Point Versions" by Oliver Drobnik
Oliver Drobnik  
View profile  
 More options Mar 5, 1:43 pm
From: Oliver Drobnik <oli...@drobnik.com>
Date: Tue, 5 Mar 2013 19:43:02 +0100
Local: Tues, Mar 5 2013 1:43 pm
Subject: Point Versions

I have recently added DTFoundation 1.1.0 podspec.

Is this reference in DTCoreText correct? I only changed the 1.0 to 1.1. Does that automatically catch all point release versions like 1.1.1?

Pod::Spec.new do |spec|
  spec.name         = 'DTCoreText'
  spec.version      = '1.3.2'
  spec.platform     = :ios, '4.3'
  spec.license      = 'BSD'
  spec.source       = { :git => 'https://github.com/Cocoanetics/DTCoreText.git', :tag => spec.version.to_s }
  spec.source_files = 'Core/Source/*.{h,m,c}'
  spec.dependency 'DTFoundation/Core', '~>1.1'
  spec.dependency 'DTFoundation/DTHMLParser', '~>1.0'
  spec.frameworks   = 'MediaPlayer', 'QuartzCore', 'CoreText', 'CoreGraphics', 'ImageIO'
 [...]

  smime.p7s
5K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eloy Durán  
View profile  
 More options Mar 14, 7:14 am
From: Eloy Durán <eloy.de.en...@gmail.com>
Date: Thu, 14 Mar 2013 12:14:23 +0100
Local: Thurs, Mar 14 2013 7:14 am
Subject: Re: Point Versions

It allows any version in the last specified digit. I.e. you’ll have to adjust it to '~> 1.1.0'.

- Eloy

On Mar 5, 2013, at 7:43 PM, Oliver Drobnik <oli...@drobnik.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oliver Drobnik  
View profile  
 More options Mar 14, 7:16 am
From: Oliver Drobnik <oli...@drobnik.com>
Date: Thu, 14 Mar 2013 12:16:09 +0100
Local: Thurs, Mar 14 2013 7:16 am
Subject: Re: Point Versions

why?

I don't care about the third digits and any future fixes should be picked up as well as long as it is in the 1.1.x range.

On 14.03.2013, at 12:14, Eloy Durán <eloy.de.en...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eloy Durán  
View profile  
 More options Mar 14, 7:19 am
From: Eloy Durán <eloy.de.en...@gmail.com>
Date: Thu, 14 Mar 2013 12:19:07 +0100
Local: Thurs, Mar 14 2013 7:19 am
Subject: Re: Point Versions

Because that’s how it knows how to treat your version in comparisons when determining if it matches. If the operator would assume that `1.1` is equal to `1.1.0`, then you wouldn’t be able to specify that any version between `1.1` and `2.0` is allowed.

On Mar 14, 2013, at 12:16 PM, Oliver Drobnik <oli...@drobnik.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »