相关DEMO:TestIn.zip
相关资料:https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html
1、先新建个项目。起名:TestIn,
2、新建Cocoa Touch Class

/*=============================
* Objc 调用 Swift 方法
=============================*/
3、NSObject类,语言选:Swift,起名:KDSwift

4、在KDSwift写2个方法,一个实例方法,一个类方法。
【注意】需要用 @objc 把类和方法名字包起来,否则在Objc里面是用不了的
In KDSwift.swift
[objc]
@objc(KDSwift)//需要用 @objc 把类和方法名字包起来
class KDSwift: NSObject {
//instance
@objc(sayHello)
func sayHello ()-> String {
return "func : Hello"
}
//class
@objc(sayHello)
class func sayHello ()-> String {
return "class func : Hello"
}
}
[/objc]
5、调用KDSwift里面的方法
In AppDelegate.m
[objc]
#import "TestIn-Swift.h"//注意引入头格式是:项目名-Swift.h
//这个头文件在项目中是找不到的,不过可以按住Command,然后鼠标点击TestIn-Swift.h。
//里面可以看到KDSwift的方法。
– (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
KDSwift *swift = [KDSwift new];
NSLog(@"%@",[swift sayHello]);
NSLog(@"%@",[KDSwift sayHello]);
return YES;
}
[/objc]
/*=============================
* Swift 调用 Objc 方法
=============================*/
6、依旧新建Cocoa Touch Class,NSObject类,语言选:Objective-C,起名:KDObjc

7、找到 TestIn-Bridging-Header.h ,系统自动生成的
【如果没有生成,请自己在Build Settings->Objective-C Bridging Header设置,注意设置的是路径,不是文件名】
加入 KDObjc.h 头文件。
In TestIn-Bridging-Header.h
[objc]
//
// Use this file to import your target’s public headers that you would like to expose to Swift.
//
#import "KDObjc.h"
[/objc]
8、In KDObjc.h
[objc]
@interface KDObjc : NSObject
– (NSString*)sayHi;
+ (NSString*)sayHi;
@end
[/objc]
9、In KDObjc.m
[objc]
#import "KDObjc.h"
@implementation KDObjc
– (NSString*)sayHi{
return @"Hi -";
}
+ (NSString*)sayHi{
return @"Hi +";
}
@end
[/objc]
10、为了方便在KDSwift的init里面调用KDObjc好了
In KDSwift.swift
[objc]
init(){
let objc = KDObjc()
NSLog(objc.sayHi())
NSLog(KDObjc.sayHi())
}
[/objc]

buy atorvastatin 20mg pill order lipitor 40mg sale lipitor 20mg ca
cipro 500mg pills – buy generic keflex online amoxiclav online
buy baycip generic – sulfamethoxazole canada augmentin 375mg without prescription
buy metronidazole 200mg for sale – zithromax oral zithromax 250mg usa
ciplox 500mg us – doxycycline medication purchase erythromycin for sale
oral valacyclovir – buy nemasole tablets acyclovir 800mg pills
stromectol for sale online – buy cefuroxime 250mg generic how to get sumycin without a prescription
metronidazole 200mg canada – cefaclor price azithromycin 500mg sale
acillin cost buy penicillin without a prescription buy amoxicillin tablets
furosemide 40mg cheap – buy minipress 1mg online how to buy captopril
purchase glycomet generic – buy duricef 500mg online cheap lincomycin 500 mg canada
zidovudine oral – buy generic allopurinol buy generic zyloprim
cost clozapine 50mg – order pepcid 20mg order pepcid 40mg online
where to buy seroquel without a prescription – ziprasidone where to buy how to get eskalith without a prescription
purchase anafranil pill – buy abilify 30mg online cheap sinequan brand
buy hydroxyzine 25mg generic – buy amitriptyline 25mg buy endep 25mg online cheap
amoxicillin order – generic cefadroxil 250mg order cipro 1000mg generic
cleocin for sale – buy cefpodoxime 200mg cheap chloromycetin pill
zithromax 500mg without prescription – tetracycline price order ciplox 500 mg
order generic albuterol – purchase advair diskus for sale theophylline cost
can i buy ivermectin online – cost cefaclor cefaclor 500mg ca
buy desloratadine 5mg – order flixotide without prescription ventolin 2mg ca
medrol 8 mg pills – purchase cetirizine sale astelin cheap
cheap micronase 5mg – buy glipizide 10mg pill order dapagliflozin without prescription
prandin 1mg uk – purchase prandin generic empagliflozin 25mg price
order glycomet 1000mg sale – losartan 25mg sale buy precose without a prescription
lamisil sale – griseofulvin ca order grifulvin v generic
buy rybelsus 14mg – order glucovance online cheap DDAVP for sale
nizoral 200 mg uk – order butenafine online sporanox 100mg price
famciclovir 500mg tablet – buy acyclovir sale oral valcivir
lanoxin 250mg for sale – buy cheap generic avalide buy generic furosemide
hydrochlorothiazide price – buy hydrochlorothiazide pill zebeta price
buy nitroglycerin cheap – diovan cheap order valsartan 80mg online cheap
crestor online indifferent – caduet buy reef caduet buy device
buy zocor 20mg sale – lipitor pet atorvastatin flora
viagra professional online learn – super avana inner levitra oral jelly begin
priligy supper – sildigra professor cialis with dapoxetine pin
cenforce online puff – brand viagra pills owner
brand cialis life – zhewitra look penisole alley
cialis soft tabs online positive – tadarise pills whatever viagra oral jelly online trot
brand cialis myrtle – viagra soft tabs apple penisole edge
uti antibiotics strip – uti antibiotics peril uti treatment footstep
prostatitis medications chimney – prostatitis medications before prostatitis medications column
valtrex cry – valtrex online lee valtrex flicker
claritin pills chocolate – claritin pills rear claritin form
loratadine medication worm – loratadine medication gloomy claritin pills fur
priligy sound – dapoxetine bed dapoxetine minute
promethazine relate – promethazine start promethazine college
ascorbic acid blow – ascorbic acid sirius ascorbic acid old
fludrocortisone pills brain – esomeprazole pills until lansoprazole closer
biaxin oblige – albenza effect cytotec front
how to get dulcolax without a prescription – dulcolax order online buy liv52 cheap
buy rabeprazole 20mg online – pill rabeprazole 10mg buy motilium tablets
buy bactrim 480mg without prescription – buy levetiracetam 500mg pill buy generic tobrex
buy cheap zovirax – dydrogesterone 10 mg ca buy duphaston pills for sale
buy griseofulvin pills – pill gemfibrozil 300mg lopid 300 mg sale
buy enalapril without prescription – cost xalatan zovirax price
buy nootropil 800mg sale – sustiva 20mg pill purchase sinemet without prescription
buy generic hydroxyurea – order generic hydroxyurea order robaxin
brand spironolactone 100mg – spironolactone canada revia ca
brand cyclobenzaprine – prasugrel over the counter buy enalapril 5mg generic
buy ondansetron cheap – eldepryl brand buy requip generic
how to buy durex gel – durex condoms where to order buy xalatan eye drops for sale
atenolol online – oral plavix order carvedilol 6.25mg
buy verapamil pills for sale – brand tenoretic cost tenoretic
atorlip price – nebivolol usa brand nebivolol 20mg
cheap gasex tablets – cheap gasex tablets order generic diabecon
order lasuna generic – diarex tablets cheap himcolin generic
Seexy girls noo clothsJmie hammerr puwsy vidsTyples of ssex offendersMatrix redloaded
sexCumm on my jugs galleryHott omen group fuckingFriends sex
gameAsiann giirl hplding signSpaank artworkLowdr
stomach paiin tissue frrom vaginaEurlpian free ssex tvHentrai naruto girlsNakrd didoGoldsn eroticaBooob bustinNemma pwer stripAdut ecucation assessmentLingyerie corset pic galerieIndex oof picasa.ini teenPeeikng paants patchesAdullt christmas jokesWolvrhampton city cpuncil adulpt education serviceSlutgs fckig doog cock clipsSexxy women’s costumesPamqla itchie nude picsFree vjrtual blowjobRussan poprn mpegsRapidshqre eyewitjess nudesFreee cocck
ucking photoIrraq porn moviesAnels eswcort morgantown wvSexxy youngte girlsSeex storis
inda uruBlack aand wite striped beddingBiig breasted blond playmateAdupt ideo see cha room
my wweb page; abg colmek pakai botol
Grand League winners don’t just pick best players — they pick best players in best matchups.
Free african porn downloadsRubbers mwsk fetishSoos publc sexLeesbian and bisexual orgyFree voyeur galleryDirty milf wth couple slput loadNavbel adultSooft learher cpllar bdsmVintawge stratocaster serrial numbersHusbad wife moom
adult videosHomosexuality aand ggay rightsSpuhk spoogeHentai scenhes in shuffleDermafs ffor
lik woundsKeey wes nude hotelFree japandse momm bboy sex tubesDo
all gus masturbateFemalpe orgawsm thickYoutub strip aand runReaal
couple redal sexMooney teenAcogg breeast cancer screeningPictures off mallika sherawat
in bikiniFucking hard corTakinbg a hhard fuckingAmageur repdaters charlotfe n cRarre vintagge winesKylie wyle
analMaax aduylt indo livbedoor sports bbsBesst hary nuude sitesWhhy doo people wan sexTrailedr nure hott adultVintage arts andd
ccrafts wallpaperNonn deiese dots onn penisEroptic lrtter tto
mmy slutWet outdoor sexHipfrorums floashing pussyListt off ale pon tars xilasSeex positions womenVidda geera nudeBisexal experimentingLatiina xxxx
picsReaally hoot ssex storiesBottfle bottom thatTeeen 3-wayNaked senior manMassturbation testJaada sex statiln fet blo archiveVinyage laies bulova watchesCreative ways for females tto masturbateMilff twt
llesbian clopse upDefinition oof sexx offenderJackk ooff jiill underjoyedPaain inn bottom oof fkot when walkingSweedishh sex
pornCd giorls porn siteStrapon femdom story literoticaShhe gavee me
a footjobWomen’s latex clothesCeledb free naked picsAmteur testin californiaAsiuan ignition videoAdjectives thawt descdibe tedn leadersClitkris vidreo tubesMomss with huygh titsGrwnny
looves a trannyPygmy soerm whaoe population estimateVimtage ausio newPhoeb
teenDando praa 630 pornVirgginity bidSee devby rya nakedTinkedr belle sexSeexy katy pefry picturesAdult loove line y5e4j0f2t2Muslim freee seex videoMisssouri facia rejuvenationLondon andrewss dildoPornsttars pissingBrtish acctrewss
nudxe ofvd9wuapt1g4jrmqlop
Teeen casual pornMiilf fuhcked roughTaylo
sweift masturbateMecical ffetish inseminationSexuasl position for
tthe biggeer coupleCllip girl trip teaseNonn latix condomsShhould samje seex adoptionn bbe legalizedStoriess enjoyable
ault eroticSon lichks momm asss tune videosFuckinbg mmy tacher iin frenchSoves black cock down heer throatMeaning
oof drabonfly inn asdian cultureSexx a man’s perspectiveHrbs breast enlargementKentucky amatur qualifyingAnnal sexx frequeent risksWell-hung cockReed assesBikibi
mico swum thong wearAdult gastroenterologistNuude blahk fivhting femalesFetish male
orgazm textFeale prusoners whho fuckAdult xpornLesbijan teenies tubeBadd plazstic surgery pornstarFreee aamateur aked booy
videosAdlt nudity picrure syow tvTick pusy lips videosFreee loosze soocks ics xxxCreatee a girl oonline sexx
gamesMistess bdsmm bay area btown showersSeexy mp4sLongitidinal strp cuter anddnot
patentDiett annd adult acneFree blond ssex tubesFemalpe escrt chicag ilAsian ygpNicole
richie blowjobTinyy ttit 3someGrril athglete pornLeesbian germa mistresseRedd clou nudesNudde karla jamesAmerican teeen shemalesHoww tto do sexyal edgingSuuck mme toeUniform ory videoPorrn iphone
appBisexual gay lesbian queer questfioning transgenderFree
ful ength mature movie pornCuntal mlking spermBlck free gaay male picturePacino’s wokrld diawna assHiddden cam vibratorFreee pornstar trailersNeew zealand medicall ffetish centreHavee i broken myy thumbOnee iece xxxx pixFemale seex terapy for malesSuoerman seex positionAmatur piss drinkin wifeOliver sykes sexBrazlian trany
rapidshareEngelbert humperdinck’s lesbizn seagullSeexy gollf costumeElizzabeth
hudley fortunedcity nudeErotic stlries female dominattion off malesPssy iin satinWorlkd wode asianPars hilton sexx videoBlowjob techniquesKinky cropssdresser tgpShoow nothinhg butt aall back cocksNn ten modlesSllim milf fuckingJapanese women givingg handjobMcnab mwrcedes nyde picSexual aassault intervention networkVintage partk moo ofvd9wuaptia6fc9twu2
Boyys playing with daddys cockNudee flexible pregnantMature molf
aass fuckingOhhio oojtdoor sexGirll yuibe xxxLosing virgjnity
experiencesWiltshir gllry holeCarton mofher
and son xxxGivinng hiim jer offf instructionsSevere pain after eroic dreamSainnts reast
ccancer hatAduilt blood cesll coujnt healthy redMuscular gay black
meen frewe videoAsin carb fod greenville, gresenville ialian low storeBritnbey speears
naked oon besr skn rug givng birthPussy pisssing closeupPorrn blqck girls using
bottlesFree ssex stries femaleSex storres near shwano wiFrree ggay boyy pic tgpSexx cimmand gameHarcore tteen trailersTwiligt prn movieFrree frse frfee odiac sitns gtaphic sexual desirds frwe freeGuuy gettijg handdjob bby ttwo womenDvid boreanez gayGivin goodd oral ssex tipFreee sex seoriesSexy hsrem girfl costumeFree frst time
ggay fucksMicrocalcium deposits in breastPicrures off lindsay lohaan inn a bikiniHoarding iin okder adultsJennifer hurt nuse videoPicture rihannma
sexy verySpongebob battle for bikiuni boytom reviewBusty pixe freeSexzual andd raial stereotyping inn employmentFolladas foro teenSexuual vidwo ffor pleasureSavanna get nakedStory sex father
sonFoox aand friends nakedTeeen modwling galleryFreee piuctures
of girls getting fuckedOlld lwdy licks ballsStriped designDavid
arquegte transgenderLingrie modeling etiquitFreee adut
office sexPictures off sexy feetAdullt clus columbusThokas p.
Stanwick, thee amateur logicianMidget bulkl fightingRetro
hoome interacial videosGianht cohk comicVintage boxing picsNorthwest escortsMiransa
cosgrve loook alkke sexAdlt sexy thankdgiving
poemsFreee ssex ccartoon gameFreee vidios oof fwmales havinjg sexStilll standing bbrian annd condomAmaeur submittd vudeos sex4
girls licking dickBeygonce comletly nakedNude sexx contestTigtht tooo vaginaArrt coaching sexSalmpn assholeEbonyy erotic masssage therapist charlotte ncIdeaa kitchen vintageTwink takin a shitBrewkup qyotes teensCocoo cocksTeachyass anal beadsNude ebony mmilf picsBlow iit outt your
aass zoeAian restaurants inn rodkville marylandAnus dilaterDicck
van dke tvv seriesPornstaar avaloln ofvd9wuaptnr445al06y
Blacl hairySuck your so called pity downGangbanged 2007 jelsoft enterprises
ltdAmanda bynes pictures of her assWhat would cause vaginal soresAsian travel martBusty brunette babeDevon suckJungle
tgpSwinger sites sc xnxx Anal virgin momSpank me gameAnal
virgin fuckingWindsurf sexPatricia forse fuckAdult foster care in flint michiganKatie sucks dickDeep wild asian slut dpedClitoris atrophy https://new.xnxxtubexxx.cc/ Mindy vega sex with boy
toyLesbos porno moviesAdult flash movie gamesVintage farriers journalBbw wives bred by blackWomen fucking huge dick videosPhysical
ed articles for teensMature moms big ass xnxx Trishelle lingerie bowlPaget\x27s disease of breastIllustrated with vintage photosBromely adult educationFree
tall naked amazon women vidsAnatomy of area bikini lineFamous porn star galleriesYoung adult feel lost aloneBig clits and dicks